/*
 * SyserrDumper.java   2008/08/19
 *
 * Copyright 2008 Web & Zen Multimedia, All rights reserved.
 * Use is subject to license terms.
 */
package it.wzm.lightweightlog;

import java.util.Properties;

/**
 * This Dumper write entry to System.err log, useful for debugging
 */
final class SyserrDumper extends ConsoleDumper {

    /**
     * As requested by the serialization
     */
    static final long serialVersionUID = 20080819L;

    /**
     * Default constructor
     * @param p
     */
    public SyserrDumper(Properties p) {
        super(p);
    }

    /**
     * Write Entry to System.err
     * @param e Anything extending Entry
     */
    @Override
    protected <E extends Entry> void write( E e) {
        System.err.print(e.getLine());
    }
}
